package com.ithema.mArrayList;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class Test1 {
    public static void main(String[] args) throws ParseException {
        Integer integer = Integer.valueOf(100);
        System.out.println(integer+1);
        System.out.println("=============");
        Integer integer1 = Integer.valueOf("100");
        System.out.println(integer1+1);
        System.out.println("=============");
        String s = String.valueOf(25);
        System.out.println(s+1);
        String a="100";
        Integer integer2 = Integer.valueOf(a);
        int i = integer2.intValue();
        System.out.println(i+1);
        int i1 = Integer.parseInt(a);
        System.out.println(i1+2);
        String l="2021-03-13  11:11:11";
        Date d = new Date();
        SimpleDateFormat sp= new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        Date pa = sp.parse(l);
        System.out.println(pa);
    }
}
